<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="utf-8">
  <title>标记</title>
  <link rel="stylesheet" href="../../static/layui/css/layui.css" />
  <script src="../../static/layui/layui.js"></script>
  <script src="../../static/jquery/jquery-3.3.1.min.js"></script>
  <script src="../../static/layer/layer.js"></script>
</head>
<body>
  <ul class="layui-nav" lay-filter="" style="text-align: center">
    <li class="layui-nav-item"><a href="/reptile">爬虫</a></li>
    <li class="layui-nav-item layui-this"><a href="/sign">标记</a></li>
    <li class="layui-nav-item"><a href="/classification">分类</a></li>
    <li class="layui-nav-item"><a href="/algorithm">算法</a></li>

    <li class="layui-nav-item" style="margin-right: 10px; float: right">
        <a href=""><img src="../../static/background/航母_0.jpg" class="layui-nav-img">我</a>
        <dl class="layui-nav-child">
          <dd><a href="javascript:;">退出</a></dd>
        </dl>
      </li>
  </ul>

  <div class="center" style="width: 1200px; height: 500px;margin: 0 auto;">
    <form class="layui-form" method="post" action="/sign/sign" style="width: 500px; margin: 0 auto; margin-top: 50px" >
      <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">标注分类：</label>
          <div class="layui-input-block" style="width: 150px;">
            <select name="city" lay-verify="required">
              <option value="y">航母</option>
              <option value="n">非航母</option>
            </select>
          </div>
      </div>
      <div class="layui-form-item">
          <p th:if="${j==100}" th:text="全部标记成功"></p>
        <img src="../../static/images/{{ url }}" style="width: 400px; height:300px;"/>
          <input name="number1"  style="display: none" value={{ num }}>
          <input name="number2"  style="display: none" value={{ num2 }}>
      </div>
      <div class="layui-form-item">
        <button type="submit" class="layui-btn layui-btn-radius" style="margin-left: 160px;" >确认</button>
      </div>
    </form>
  </div>
<script>
//注意：导航 依赖 element 模块，否则无法进行功能性操作
layui.use('element', function(){
  var element = layui.element;

  //…
});

//Demo
layui.use('form', function(){
  var form = layui.form;

  //监听提交
  form.on('submit(formDemo)', function(data){
    layer.msg(JSON.stringify(data.field));
    return false;
  });
});

</script>

</body>
</html>
      